<template>
  <div id="app">
   <header>
     <router-view name='header'></router-view>
   </header>
   <main>
     <keep-alive></keep-alive>
     <router-view/>
   </main>
   <footer>
     <router-view name="footer"></router-view>
   </footer>
  </div>
</template>
<style lang="less">
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
html,body,#app{
  height: 100%;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
#app{
  display: flex;
  flex-flow: column;
  main{
    flex: 1;
    overflow: auto;
  }
}
</style>
